package cn.qayy.service;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestParam;

import com.github.pagehelper.PageInfo;

import cn.qayy.dto.ClientDTO;
import cn.qayy.dto.GFDTO;
import cn.qayy.po.WxClient;

/**
 * @author wangyu 中标库接口
 */
public interface IClientService extends BasicService {
	/**
	 * 分页查询
	 * 
	 * @param params
	 * @return
	 */
	PageInfo<WxClient> selectClientBy(Map<String, Object> params) throws Exception;

	List<ClientDTO> selectClientForDown(@RequestParam Map<String, Object> params) throws Exception;

	/**
	 * 通过id查询好伙伴库
	 * 
	 * @param params
	 * @return
	 */
	WxClient selectClientByID(@RequestParam Integer gfId) throws Exception;

	List<WxClient> selectByMap(Map<String, Object> params);

	/**
	 * 查询id
	 * 
	 * @param params
	 * @return
	 */
	List<Integer> selectIdsByMap(Map<String, Object> params);

	List<Map<String, String>> selectClientAuto();

	Collection<? extends Map<String, String>> selectClientUUID();
}
